x86 ucode: microcode logic update
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Jan 2009 11:11:10 +0000 (11:11 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Jan 2009 11:11:10 +0000 (11:11 +0000)
commit4a10e13111a0417d4c9f2d4ee2ce65955ef745d5
treeab79bc92cfb65ab8c10bf7e29c388b52e421de4d
parentdf29e279e265fbb2195124e31d0003064ecdc126
x86 ucode: microcode logic update

Update microcode logic:
1. separate microcode_fini_cpu() into 2 level to avoid deadlock (when
fail at microcode_update_cpu);
2. cancel redundant collect_cpu_info at microcode.c level, use
relative function at microcode driver level;
3. separate microcode_resume_cpu from microcode_update_cpu, because
it's redundant (should only be called when S3 wakeup) and will block newer
microcode update when user update newer microcode.dat from user level

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
xen/arch/x86/microcode.c
xen/arch/x86/microcode_intel.c